package com.jgsu.farm.service;
import com.github.pagehelper.PageInfo;
import com.jgsu.farm.entity.Weedstress;

import java.util.List;

public interface WeedStressService {
     /**
      * 添加草害信息
      * */
     void add(int plantid,String name, String maintype, String subtype, String factor,Integer bioid,String harm,String symptom,String control,int symptomImage);

     /**
      * 根据id删除草害
      * */
     void delete(Integer weedid);

     /**
      * 分页查询所有草害胁迫
      * */
     List<Weedstress> selectAll(int page, int pagesize);


     /**
      * 修改草害信息
      * */
     void modify(Weedstress weedstress);
}
